package com.wens.baselibrary.view.indicator

import androidx.viewpager.widget.ViewPager
import androidx.viewpager.widget.ViewPager.OnPageChangeListener

interface PageIndicator {
    fun setViewPager(view: ViewPager?)

    fun setViewPager(view: ViewPager?, initialPosition: Int)

    fun setCurrentItem(item: Int)

    fun setOnPageChangeListener(listener: OnPageChangeListener?)

    /**
     * Notify the indicator that the fragment list has changed.
     */
    fun notifyDataSetChanged()
}